package com.freemalll.merchant.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.freemalll.merchant.common.AbstractBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商户附件配置表
 * </p>
 *
 * @author songshixiong
 * @since 2025-06-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mer_attach_config")
@Schema(description = "MerAttachConfig对象")
public class MerAttachConfig extends AbstractBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "config_id", type = IdType.ASSIGN_UUID)
    private String configId;

    @Schema(description = "附件名称")
    @TableField("config_name")
    private String configName;

    @Schema(description = "附件编码")
    @TableField("config_code")
    private String configCode;

    @Schema(description = "是否必传(1,是，0：否)")
    @TableField("config_require")
    private Boolean configRequire;

    @Schema(description = "最少张数")
    @TableField("config_min")
    private Integer configMin;

    @Schema(description = "最多张数")
    @TableField("config_max")
    private Integer configMax;

    @Schema(description = "附件类型")
    @TableField("attach_type")
    private Boolean attachType;

    @Schema(description = "附件场景类别  DJK 大健康  JY 教育 TY 通用")
    @TableField("attach_scene_category")
    private String attachSceneCategory;

    @Schema(description = "附件排序")
    @TableField("order_no")
    private Integer orderNo;


}
